@import './variables.scss';
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

input::-ms-clear {
    width : 0;
    height: 0;
  }
ul,
li {
    list-style: none;
}
* {
    font-size: 12px !important;
}

.el-upload-dragger .el-icon-upload{
    font-size: 60px !important;
}
button {
    border: none;
    outline: none;
}

// 全局滚动条样式
body {
    &::-webkit-scrollbar {
        width: 4px;
        height: 4px;
    }

    &::-webkit-scrollbar-thumb {
        /*滚动条里面小方块*/
        border-radius: 4px;
        box-shadow: none;
        // background: red;
        background: #dcdcdc;
    }

    &::-webkit-scrollbar-track {
        /*滚动条里面轨道*/
        border-radius: 4px;
        background: transparent;
        box-shadow: none;
    }

    * {
        &::-webkit-scrollbar {
            width: 4px;
            height: 4px;
        }

        &::-webkit-scrollbar-thumb {
            /*滚动条里面小方块*/
            border-radius: 4px;
            box-shadow: none;
            background: #dcdcdc;
        }

        &::-webkit-scrollbar-track {
            /*滚动条里面轨道*/
            border-radius: 4px;
            background: transparent;
            box-shadow: none;
        }
    }
}

// loading样式大小
.el-loading-spinner {
    .el-loading-text {
        font-size: 21px;
    }

    .el-icon-loading {
        font-size: 32px;
    }
}

// 时间弹窗
.input-frame-popper {
    width: 440px;
    font-size: 16px;

    .el-picker-panel__content {
        width: 95%;
    }

    .el-date-table {
        font-size: 16px;
    }
}

.bus-radio-group {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
    text-align: left;

    .el-radio {
        // @extend %flex-align-center;
        height: 98px;
        padding-left: 10px;
        line-height: 98px;
        border-bottom: 1px solid #eaeaea;

        .el-radio__label {
            padding-left: 26px;
            color: #333;
            font-size: 24px;
            line-height: 98px;
            font-weight: bold;
            letter-spacing: 2px;
        }

        .el-radio__inner {
            width: 36px;
            height: 36px;
            border-color: #c9c9c9;
        }

        .el-radio__inner::after {
            width: 8px;
            height: 8px;
        }
    }
}

.el-empty__image {
    width: 200px;
}

.el-empty__description {
    p {
        letter-spacing: 2px;
        font-size: 20px;
    }
}

.prove-check-group {
    padding-left: 5px;
    text-align: left;

    .el-checkbox {
        display: flex;
        align-items: flex-start;
        margin-top: 60px;
    }

    .el-checkbox__input {
        position: relative;
        top: 5px;
    }

    .el-checkbox__inner {
        width: 36px;
        height: 36px;
        border-radius: 4px;
        background-color: #fff;
        border-color: #c9c9c9;
    }

    .el-checkbox__label {
        font-size: 24px;
        font-weight: bold;
        line-height: 42px;
        vertical-align: top;
        white-space: break-spaces;
    }

    .el-checkbox__input.is-checked + .el-checkbox__label {
        color: #0bbc79;
    }

    .el-checkbox__input.is-checked .el-checkbox__inner {
        background: #fefefe;
        border: 2px solid #c9c9c9;
    }

    .el-checkbox__inner::after {
        width: 8px;
        height: 20px;
        left: 10px;
        top: 2px;
        border: 3px solid #0bbc79;
        border-left: 0;
        border-top: 0;
    }
}

.query-btn {
    width: 290px;
    height: 89px;
    line-height: 82px;
    color: #fff;
    font-size: 32px;
    box-shadow: 0 2px 0 0 rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    cursor: pointer;
}

.el-radio-group {
    .el-radio-button {
        height: 66px;
        background: #ffffff;

        .el-radio-button__inner {
            width: 100%;
            height: 100%;
            font-size: 30px;
            letter-spacing: 2px;
            border: 2px solid #348bff;
        }

        &:not(:last-child) {
            .el-radio-button__inner {
                border-right: none;
            }
        }
    }
}

.el-input {
    font-size: 18px;
}

.worldBlueBtn{
    color: ($staticHover) !important;
    display: inline-block;
    cursor: pointer;
    // color: red;
    &:hover{
        color: ($hoverColor) !important;
    }
}
.worldBlueBtn + .worldBlueBtn{
    margin-left: 12px;
}

.shareHeadClass{
    display: flex;
    height: 18px;
    align-items: center;
    margin-bottom: 16px;
    font-weight: bold;
    .colCLas {
        width: 4px;
        height: 18px;
        background-color: $allBg;
        margin-right: 12px;
    }
    .info {
        height: 18px;
        line-height: 18px;
        display: flex;
        align-items: center;
    }
}


.type--alert.vxe-modal--wrapper .vxe-modal--body, .type--alert.vxe-modal--wrapper .vxe-modal--body .vxe-modal--content, .type--confirm.vxe-modal--wrapper .vxe-modal--body, .type--confirm.vxe-modal--wrapper .vxe-modal--body .vxe-modal--content, .type--modal.vxe-modal--wrapper .vxe-modal--body, .type--modal.vxe-modal--wrapper .vxe-modal--body .vxe-modal--content{
    height: 100%;
}

.el-message__content {
    width: 95%; /* 设置消息框的最大高度 */
    word-wrap: break-word; /* 允许内容换行 */
}
@media (max-height: 600px) and (min-height: 100px) {
    .el-dialog{
        margin-top: 0vh !important;
    }
    .el-dialog__body{
        max-height: 70vh !important;
    }
}
@media (max-height: 650px) and (min-height: 600px){
    .el-dialog{
        margin-top: 1vh !important;
    }
    .el-dialog__body{
        max-height: 75vh !important;
    }
}
 // 全局弹框居中，但是有些写死了。 就不全局加了。
// .el-dialog{
//     display: flex;
//     display: -ms-flex; /* 兼容IE */
//     flex-direction: column;
//     -ms-flex-direction: column; /* 兼容IE */
//     margin:0 !important;
//     position:absolute;
//     top:50%;
//     left:50%;
//     transform:translate(-50%,-50%);
//     max-height:calc(100% - 30px);
//     max-width:calc(100% - 30px);
//   }
// .el-dialog .el-dialog__body{
//     padding: 20px;  /*这个不重要*/
//     max-height: 75vh;
//     flex: 1;
//     -ms-flex: 1 1 auto; /* 兼容IE */
//     overflow-y: auto;
//     overflow-x: hidden;
// }

// .el-dialog__wrapper {
//     overflow: hidden;/*隐藏ie和edge中遮罩的滚动条*/
// }



@media (max-height: 900px) and (min-height: 650px) {
    .el-dialog{
        margin-top: 2vh !important;
    }
    .el-dialog__body{
        max-height: 75vh !important;
        overflow-y: auto;
        overflow-x: hidden;
    }
}
@media (max-height: 3600px) and (min-height: 900px) {
    .el-dialog{
        margin-top: 6vh !important;
    }
    .el-dialog__body{
        max-height: 75vh !important;
    }
}

.el-dialog__header{
    padding: 10px 20px;
}
.el-dialog__body{
    overflow-y: auto;
    overflow-x: hidden;
}
.el-dialog__footer{
    padding: 10px 20px;
}


.el-message-box__message p{
    word-break: break-word ;
  }

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .el-input .el-input__count .el-input__count-inner {
      line-height: normal;
    }
  }
  
  .el-input .el-input__count .el-input__count-inner {
    line-height: initial;
  }
  
  .el-button .el-loading-spinner {
    font-size: 20px;
    color: #409eff;
    top: 65%;
  }
  .el-loading-spinner .circular{
    height: 32px;
    width: 32px;
  }
  .el-button .el-loading-spinner .path {
    stroke: #409eff;
  }

  .el-loading-mask.is-fullscreen{
    z-index: 99999999;
  }
  .is-fullscreen.el-loading-mask .el-loading-spinner{
    margin-left: -25px;
  }